package com.epoint.mobileoa.tools;

import android.app.ProgressDialog;
import android.content.Context;

/**
 * @author liyc
 * @time 2012-3-22 下午2:50:12
 * @annotation 
 */
public class ProgressBarHelp {
	public static void showWaitProgress(Context con,ProgressDialog m_Dialog,String msg){
		m_Dialog = new ProgressDialog(con);
		msg = msg==null?"":msg;
		if(msg.equals("")){
			msg = "正在加载数据...";
		}
		m_Dialog.setMessage(msg);
		m_Dialog.setProgressStyle(ProgressDialog.STYLE_SPINNER);
		m_Dialog.setCancelable(true);
		m_Dialog.show();
	}
}
